{extend name='base' /}
{block name='content'}
<ol class="breadcrumb" style="background-color: #f9f9f9;padding:8px 0;margin-bottom:10px;">
    <li>
        <a href="javascript:;"><i class="fa fa-cogs"></i>
            密码管理</a>
    </li>
    <li class="active">
        <a href="javascript:;">修改用户</a>
    </li>
</ol>
<form class="form-horizontal" id="form" action="{:url('admin/Index/changeAdmin')}" method="post">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">修改用户</h3>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <label for="" class="col-sm-4 control-label">原始用户名</label>
                <div class="col-sm-3">
                    <input type="text" name="admin" class="form-control" readonly="readonly" value="{$admin}">
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-4 control-label">新用户名</label>
                <div class="col-sm-3">
                    <input type="text" name="new_admin" class="form-control" placeholder="请填写新用户名">
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-4 control-label">确认用户名</label>
                <div class="col-sm-3">
                    <input type="text" name="confirm_admin" class="form-control" placeholder="请填写确认用户名">
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-5 control-label"></label>
                <button class="btn btn-primary" type="submit">确定</button>
                <button class="btn btn-primary" type="button" onclick="window.location.href='{:url("admin/index/index")}'">取消</button>
            </div>
        </div>
    </div>
</form>
{/block}


